package main

import "fmt"



// 插队

// iota常量计数器 ,第一个为0 开始

//常量,不会改变
const (
	c1 = 100
	c2  	//默认为上面100
	c3 = iota
	c4
	c5
)

func main() {
	fmt.Println("c1:", c1)
	fmt.Println("c2:", c2)
	fmt.Println("c3:", c3)
	fmt.Println("c4:", c4)
	fmt.Println("c5:", c5)
	fmt.Printf("%T", c1)
	a1 := 1.2
	fmt.Printf("%T\n", a1)
	var b1 bool          //默认为false
	fmt.Printf("%T\nvalume:%v", b1, b1)

}

//result:
//c1: 100
//c2: 100
//c3: 2
//c4: 3
//c5: 4
